package com.masterclient.app.modules.shop.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.masterclient.app.modules.shop.beans.StoreBean;

/**
 * 作者：sean
 * 创建时间：2017/8/9 19:40
 * 功能说明：
 */

public interface StoreContract {

    interface View extends BaseView {
        void getSellerResult(StoreBean dataBean);
        void getSellerFailed(String msg);
        void collectSuccess(boolean isCollect);

        void pickUpSalesruleSuccess(String coupon_code, String msg);
        void pickUpSalesruleFailed(String msg);

    }
    abstract class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }

        public abstract void getSeller(String id,int page,String sort,String is_dealer, String is_agent);
        public abstract void collectShop(String id);
        public abstract void removeCollect(String id);
        public abstract void pickUpSalesrule(String coupon_code,String parent_product_id);

    }


}